home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _67DA268E8E7D4E809BCFCCFC1A7EFEB1 < prev    next >
Encoding:
Text File  |  2000-03-27  |  2.3 KB  |  59 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4.  
  5.  
  6.  
  7. local entity tokenguy1
  8. local entity tokenguy2
  9. local entity tokenguy3
  10. local entity player_shoot // the player
  11. local int sig1
  12. local int sig2
  13.  
  14.  
  15. tokenguy1 = find entity with targetname "tokenguy1"
  16. tokenguy2 = find entity with targetname "tokenguy2":
  17. tokenguy3 = find entity with targetname "tokenguy3"
  18. player_shoot = find entity player
  19.  
  20.  
  21.  
  22.  
  23.  
  24. // animate entity tokenguy1 performing action CCH_XCROUCH_UP_PK_A
  25. // wait .2 seconds
  26. play sound "speech/tsr1/skn/bt9-7.adp" for entity tokenguy1 at volume 0.9
  27.  
  28.  
  29. animate entity tokenguy1 performing action CCH_XCROUCH_UP_MRS_2 // first guy gets up
  30. animate entity tokenguy1 performing action STD_F_FWD_S_2 targeting entity player_shoot // first guy takes a shot at the player
  31.  
  32. // THIS IS THE GUY RUNNING AWAY OUT THE BACK EXIT
  33.  
  34. // animate entity tokenguy1 performing action STD_R_N_MRS_2 by moving [-112, 0, 0] // guy running towards the back of the room
  35. // animate entity tokenguy1 performing action STD_R_N_MRS_2 by moving [0, 112, 0] // guy running up the little hall and to the left
  36. // animate entity tokenguy1 performing action STD_R_N_MRS_2 by moving [-216, 0, 0] // 
  37. // animate entity tokenguy1 performing action STD_R_N_MRS_2 by moving [0, 256, 0]  // running towards the door
  38.  
  39.  
  40.  
  41. // SECOND GUY DOING HIS THING
  42. animate entity tokenguy2 performing action CCH_XCROUCH_UP_PK_A // JUMPS UP TO TAKE A SHOT AT THE PLAYER
  43. animate entity tokenguy2 performing action STD_F_FWD_P_2 targeting entity player_shoot
  44. animate entity tokenguy2 performing action STD_XCROUCH_DWN_PK_A // HIM DUCKING DOWN AGAIN
  45. animate entity tokenguy2 performing action STD_F_FWD_P_2 targeting entity player_shoot // signaling sig1
  46.  
  47. // THIRD GUY DOING HIS THING
  48. animate entity tokenguy3 performing action CCH_XCROUCH_UP_PK_A
  49. animate entity tokenguy3 performing action STD_F_FWD_P_2 targeting entity player_shoot
  50. animate entity tokenguy3 performing action STD_XCROUCH_DWN_PK_A // HIM DUCKING DOWN AGAIN
  51. animate entity tokenguy3 performing action STD_F_FWD_P_2 targeting entity player_shoot // signaling sig2
  52.  
  53. // wait for all clearing sig1, sig2
  54. animate entity tokenguy2 performing action SCRIPT_RELEASE
  55. animate entity tokenguy3 performing action SCRIPT_RELEASE
  56. animate entity tokenguy1 performing action SCRIPT_RELEASE
  57.  
  58.  
  59.